package com.itita.player;

import com.itita.player.pojo.Episode;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

public class BoradCast extends BroadcastReceiver{

	@Override
	public void onReceive(Context context, Intent intent) {
		Log.e("wang","context.startActivity(intent);");
		Episode episode = (Episode)intent.getParcelableExtra("BookDownloadDetail");
		intent.setClass(context, DownloadActivity.class);
		
		intent.putExtra("BookDownloadBroadcastReceiver", episode);
		context.startActivity(intent);
		Log.e("wang","context.startActivity(intent);");
	}

}
